package com.xw.db137.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xw.db137.entity.Userrole;
import org.apache.ibatis.annotations.Insert;

/**
 * @Author: xw
 * @CreateTime: 2024/12/24
 * @Description: 用户
 * @Version: 1.0
 */
public interface UserroleMapper extends BaseMapper<Userrole> {
    @Insert("INSERT INTO userrole VALUES(NULL,#{userid},#{roleid})")
    public int insertUserrole(Userrole userrole);
}